package com.ruoyi.huoyun.person.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车主个人信息对象 driver_person_info
 *
 * @author mj
 * @date 2021-11-28
 */
public class DriverPersonInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识数据表 */
    private Integer id;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bankOfDeposit;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 银行卡开户地 */
    @Excel(name = "银行卡开户地")
    private String openingBank;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechatNumber;

    /** 车源id */
    @Excel(name = "车源id")
    private Long supplyOfCarsId;

    @Excel(name = "被评价次数")
    private Integer beEvaluated;

    @Excel(name = "评价总分")
    private Integer totalEvaluate;

    @Excel(name = "司机运输次数")
    private Integer transportNumber;

    @Excel(name = "司机家庭住址")
    private String homeAdd;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setBankOfDeposit(String bankOfDeposit)
    {
        this.bankOfDeposit = bankOfDeposit;
    }

    public String getBankOfDeposit()
    {
        return bankOfDeposit;
    }
    public void setBankCardNumber(String bankCardNumber)
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber()
    {
        return bankCardNumber;
    }
    public void setOpeningBank(String openingBank)
    {
        this.openingBank = openingBank;
    }

    public String getOpeningBank()
    {
        return openingBank;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setWechatNumber(String wechatNumber)
    {
        this.wechatNumber = wechatNumber;
    }

    public String getWechatNumber()
    {
        return wechatNumber;
    }
    public void setSupplyOfCarsId(Long supplyOfCarsId)
    {
        this.supplyOfCarsId = supplyOfCarsId;
    }

    public Long getSupplyOfCarsId()
    {
        return supplyOfCarsId;
    }

    public Integer getBeEvaluated() {
        return beEvaluated;
    }

    public void setBeEvaluated(Integer beEvaluated) {
        this.beEvaluated = beEvaluated;
    }

    public Integer getTotalEvaluate() {
        return totalEvaluate;
    }

    public void setTotalEvaluate(Integer totalEvaluated) {
        this.totalEvaluate = totalEvaluated;
    }

    public Integer getTransportNumber() {
        return transportNumber;
    }

    public void setTransportNumber(Integer transportNumber) {
        this.transportNumber = transportNumber;
    }

    public String getHomeAdd() {
        return homeAdd;
    }

    public void setHomeAdd(String homeAdd) {
        this.homeAdd = homeAdd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("telephone", getTelephone())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("bankOfDeposit", getBankOfDeposit())
            .append("bankCardNumber", getBankCardNumber())
            .append("openingBank", getOpeningBank())
            .append("email", getEmail())
            .append("wechatNumber", getWechatNumber())
            .append("supplyOfCarsId", getSupplyOfCarsId())
            .append("beEvaluates", getBeEvaluated())
            .append("totalEvaluated", getTotalEvaluate())
            .append("transportNumber", getTransportNumber())
            .append("homeAdd", getHomeAdd())
            .toString();
    }
}
